<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" >
<HTML xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>金陵贸易 后台管理系统</title>
<meta http-equiv=Content-Type content="text/html; charset=utf-8">
<link media="all" href="styles/style.css" type=text/css rel="stylesheet">
</head>
<?php
session_start();
if (!(isset($_SESSION['userName']))) {
    header("Location: login.php");
}
?>
<body>
<div class="mainhd">
<div class="logo">金陵贸易 后台管理系统</div>
<div class="uinfo">
    <p>
        您好, <EM><?php echo $_SESSION['userName']; ?></EM> [ <a href="adminLogin.php?action=logout" target="_top">退出</a> ]
    </p>
</div>
</div>
</body>
</html>
